<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title>系统自定义配置</title>

	<meta name="description" content="Static &amp; Dynamic Tables" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />

	<!--basic styles-->

	<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet" />
	<link href="__PUBLIC__/css/bootstrap-responsive.min.css" rel="stylesheet" />
	<link href="__PUBLIC__/css/animate.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="__PUBLIC__/css/font-awesome.min.css" />

	<style type="text/css" title="currentStyle">
		@import "__PUBLIC__/css/TableTools.css";
	</style>

	<!--[if IE 7]>
	<link rel="stylesheet" href="__PUBLIC__/css/font-awesome-ie7.min.css" />
	<![endif]-->

	<!--page specific plugin styles-->

	<!--bbc styles-->

	<link rel="stylesheet" href="__PUBLIC__/css/bbc.min.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/bbc-responsive.min.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/bbc-skins.min.css" />

	<!--[if lte IE 8]>
	<link rel="stylesheet" href="__PUBLIC__/css/bbc-ie.min.css" />
	<![endif]-->

	<!--inline styles if any-->
</head>

<body>
<!--导航-->
<include file="Public:navbar" />

<div class="container-fluid" id="main-container">
	<a id="menu-toggler" href="#">
		<span></span>
	</a>

	<!--边栏-->
	<include file="Public:sidebar" />

	<div id="main-content" class="clearfix">
		<div id="breadcrumbs">
			<ul class="breadcrumb">
				<li>
					<i class="icon-home"></i>
					<a href="#">Home</a>

					<span class="divider">
								<i class="icon-angle-right"></i>
							</span>
				</li>
				<li class="active">系统设置</li>
			</ul><!--.breadcrumb-->
		</div>

		<div id="page-content" class="clearfix">
			<div class="page-header position-relative">
				<h1> 自定义配置 </h1>
			</div><!--/.page-header-->

			<div class="row-fluid">
				<!--PAGE CONTENT BEGINS HERE-->
				<div class="row-fluid">
					<div class="span10">
						<div class="tabbable">
							<ul class="nav nav-tabs" id="myTab">
								<li class="active">
									<a data-toggle="tab" href="#home">
										<i class="green icon-cogs bigger-110"></i>
										系统参数设置
									</a>
								</li>
								<li>
									<a data-toggle="tab" href="#rechargeconf">
										<i class="green icon-plus-sign-alt  bigger-110"></i>
										交易中心设置
									</a>
								</li>
								<li>
									<a data-toggle="tab" href="#withdrawconf">
										<i class="green icon-credit-card bigger-110"></i>
										K线价格控制
									</a>
								</li>
								<li>
									<a data-toggle="tab" href="#transferconf">
										<i class="green icon-exchange bigger-110"></i>
										推广奖励设置
									</a>
								</li>
								<li>
									<a data-toggle="tab" href="#memberconf">
										<i class="green icon-user  bigger-110"></i>
										短信接口设置
									</a>
								</li>
								<li>
									<a data-toggle="tab" href="#anquanconf">
										<i class="green icon-plus-sign-alt  bigger-110"></i>
										安全设置
									</a>
								</li>

							</ul>
							<!--奖金配置-->
							<div class="tab-content">
								<div id="home" class="tab-pane in active">
									<form class="form-horizontal" action="{:U(GROUP_NAME.'/System/bonusConf')}" method="post">
										<div class="control-group">
											<label class="control-label" for="zs_num">注册奖励</label>

											<div class="controls">
												赠送矿池资产<input type="text" id="zs_num" name="zs_num" value="{$config.zs_num}" style=" width: 50px;" class="span3"/>个&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
												赠送矿机编号<input type="text" id="z_num" name="z_num" value="{$config.z_num}" style=" width: 50px;" class="span3"/><font color="red">此处填写的是矿机列表的矿机编号</font>
											</div>
<div style="height: 20px"></div>
											<div class="controls" >
												赠送矿机数量<input type="text" id="num" name="num" value="{$config.num}" style=" width: 50px;" class="span3"/><font color="red">切记，最高只能设置3台，</font>
											</div>
										</div>

										<div class="control-group">
											<label class="control-label" for="dhzcbs">兑换资产的倍数</label>

											<div class="controls">
												<input type="text" id="dhzcbs" name="dhzcbs" value="{$config.dhzcbs}" style=" width: 50px;" class="span3"/><font color="red">可售余额兑换矿池资产的倍数</font>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="qdzs">每天签到设置</label>

											<div class="controls">
												每天可签到总人数<input type="text" id="qdzs" name="qdzs" value="{$config.qdzs}" style=" width: 50px;" class="span3"/>人次
												签到奖励<input type="text" id="qdjiangli" name="qdjiangli" value="{$config.qdjiangli}" style=" width: 50px;" class="span3"/>个矿池钱包
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="adurl">推荐链接广告</label>

											<div class="controls">
												<textarea name="adurl" style="width:500px; height:80px;">{$config.adurl}</textarea>这里直接设置推荐人的注册链接：[adurl]
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="open_web">是否开启网站</label>

											<div class="controls">
												<select name="open_web" style=" width:100px;">
													<option value="1" <if condition="$config['open_web'] eq 1"> selected="selected"</if>>开启</option>
													<option value="0" <if condition="$config['open_web'] eq 0"> selected="selected"</if>>关闭</option>
												</select>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="open_web_notice">网站关闭提示语</label>

											<div class="controls">
												<input type="text" id="open_web_notice" name="open_web_notice" value="{$config.open_web_notice}"  class="span3"/>
											</div>
										</div>
										<div class="form-actions">
											<button type="submit" class="btn btn-info no-border">
												<i class="icon-ok bigger-110"></i>
												保存设置
											</button>
										</div>
									</form>
								</div>


								<div id="rechargeconf" class="tab-pane">
									<p>
									<form class="form-horizontal" action="{:U(GROUP_NAME.'/System/jiaoyi')}" method="post">
										<div class="control-group">
											<label class="control-label" for="jy_open">是否开启交易中心</label>

											<div class="controls">
												<select name="jy_open" style=" width:100px;">
													<option value="1" <if condition="$config['jy_open'] eq 1"> selected="selected"</if>>是</option>
													<option value="0" <if condition="$config['jy_open'] eq 0"> selected="selected"</if>>否</option>
												</select>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="jy_time">交易中心每日开启时间段</label>

											<div class="controls">
												<input type="text" id="jy_time" name="jy_time" value="{$config.jy_time}"  class="span3"/> (如：08:30-17:40 )
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="rmb_hl">一美元</label>

											<div class="controls">
												<input type="text" id="rmb_hl" name="rmb_hl" value="{$config.rmb_hl}" style=" width: 250px;" class="span3"/>人民币
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="mcnum">限制每天出售单数</label>
											<div class="controls">
												<input type="text" id="mcnum" name="mcnum" value="{$config.mcnum}" style=" width: 150px;" class="span3"/><font color="red">限制交易中心每天可以卖出的单数！</font>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="tousu_time">多少小时后可以投诉</label>

											<div class="controls">
												<input type="text" id="tousu_time" name="tousu_time" value="{$config.tousu_time}" style=" width: 150px;" class="span3"/>小时
											</div>
										</div>
										<div class="form-actions">
											<button type="submit" class="btn btn-info no-border">
												<i class="icon-ok bigger-110"></i>
												保存设置
											</button>
										</div>
									</form>
									</p>
								</div>




								<div id="withdrawconf" class="tab-pane">
									<p>
									<form class="form-horizontal" action="{:U(GROUP_NAME.'/System/kxian')}" method="post">
									
									<div class="control-group">
											<label class="control-label" for="chushiprice">设置初始价</label>

											<div class="controls">
												
												<input type="text" id="chushiprice" name="chushiprice" value="" style=" width: 150px;" class="span3"/><font color="red">设置初始价格,开始运行时设置，正常时间留空</font>
											</div>
										</div>

										<div class="control-group">
											<label class="control-label" for="everyday_rose">每日涨幅</label>

											<div class="controls">
												<input type="text" id="everyday_rose" name="everyday_rose" value="{$config.everyday_rose}" style=" width: 150px;" class="span3"/><font color="red">交易中心每天的币价固定涨的金额</font> 
												<!-- <input type="text" id="everyday_rose" name="everyday_rose" value="{$dateToday.price}" style=" width: 150px;" class="span3"/><font color="red">设置币的每天自动增长幅度</font>-->
											</div>
										</div>


										<div class="control-group" >
											<label class="control-label" for="everyday_last_time">上次更新时间</label>

											<div class="controls">
												<input type="text" id="everyday_last_time" name="everyday_last_time" value="{$config.everyday_last_time|date='Y-m-d H:i:s',###}" style=" width: 150px;" class="span3"/><font color="red">此处不可随意更改</font>
												<!-- <input type="text" id="everyday_last_time" name="everyday_last_time" value="{$dateToday.date|date='Y-m-d H:i:s',###}" style=" width: 150px;" class="span3"/><font color="red">此处不可随意更改</font> -->
											</div>
										</div>


										<div class="form-actions">
											<button type="submit" class="btn btn-info no-border">
												<i class="icon-ok bigger-110"></i>
												保存设置
											</button>
										</div>
									</form>
									</p>
								</div>





								<div id="transferconf" class="tab-pane">
									<p>
									<form class="form-horizontal" action="{:U(GROUP_NAME.'/System/tuiguang')}" method="post">

										<div class="control-group" >
											<label class="control-label" for="tjj">团队购买奖励</label>

											<div class="controls">
												一代<input type="text" id="tjj_1" name="tjj_1" value="{$config.tjj_1}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
												二代<input type="text" id="tjj_2" name="tjj_2" value="{$config.tjj_2}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
												三代<input type="text" id="tjj_3" name="tjj_3" value="{$config.tjj_3}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;

											</div>
										</div>
										<div class="control-group" >

											<div class="controls">
												四代<input type="text" id="tjj_4" name="tjj_4" value="{$config.tjj_4}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
												五代<input type="text" id="tjj_5" name="tjj_5" value="{$config.tjj_5}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
												六代<input type="text" id="tjj_6" name="tjj_6" value="{$config.tjj_6}" style=" width: 100px;" class="span3"/>
												<br>
												<font color="red">此处设置6代以内有人购买矿机，可以获得相应的奖励，例如：矿机10矿池钱包，一代奖励0.1，计算方式为10*0.1=1，秒到账可获取自己伞下6代奖励！</font>
											</div>

										</div>
										<div class="control-group" >
											<label class="control-label" for="tjj">社群推广奖励</label>

											<div class="controls">
												社群人数<input type="text" id="sq_num" name="sq_num" value="{$config.sq_num}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
												直推人数<input type="text" id="zhitui" name="zhitui" value="{$config.zhitui}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
												矿池钱包<input type="text" id="qianbao" name="qianbao" value="{$config.qianbao}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
											</div>
										</div>
									<div class="control-group" >

										<div class="controls">
									矿池资产<input type="text" id="sq_zc" name="sq_zc" value="{$config.sq_zc}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
									矿机编号<input type="text" id="sq_id" name="sq_id" value="{$config.sq_id}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
									矿机个数<input type="text" id="sqkj_num" name="sqkj_num" value="{$config.sqkj_num}" style=" width: 100px;" class="span3"/>&nbsp;&nbsp;
											<br>
											<font color="red">设置0即不赠送，这里设置与下面社群备注内容一致！</font>

										</div>
							</div>
									<div class="control-group">
										<label class="control-label" for="sqbz">社群备注内容</label>

										<div class="controls">
											<textarea name="sqbz" style="width:500px; height:80px;">{$config.sqbz}</textarea>这里的内容显示在前台社群奖励界面
										</div>
									</div>
										<div class="form-actions">
											<button type="submit" class="btn btn-info no-border">
												<i class="icon-ok bigger-110"></i>
												保存设置
											</button>
										</div>
									</form>
									</p>
								</div>








								<!--会员配置-->
								<div id="memberconf" class="tab-pane">
									<p>
									<form class="form-horizontal" action="{:U(GROUP_NAME.'/System/memberConf')}" method="post">
										<div class="control-group">
											<label class="control-label" for="code_apikey">极速apikey</label>

											<div class="controls">
												<input type="text" id="code_apikey" name="code_apikey" value="{$config.CODE_APIKEY}" class="span3"/><span class="help-inline"></span>
											</div>
										</div>

										<div class="control-group">
											<label class="control-label" for="code_cf">短信禁止重复发送时间</label>

											<div class="controls">
												<input type="text" id="code_cf" name="code_cf" value="{$config.CODE_CF}" class="span3"/><span class="help-inline">秒</span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="code_gq">短信验证过期时间</label>

											<div class="controls">
												<input type="text" id="code_gq" name="code_gq" value="{$config.CODE_GQ}" class="span3"/><span class="help-inline">秒</span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="memberlogin">是否允许会员登入</label>

											<div class="controls">
												<input type="radio" value="on" <if condition="$config['MEMBER_LOGIN'] == 'on'">checked="checked"</if> name="memberlogin">
												<span class="lbl">允许</span>
												&nbsp;
												<input type="radio" value="off" <if condition="$config['MEMBER_LOGIN'] == 'off'">checked="checked"</if> name="memberlogin">
												<span class="lbl">禁止</span>
											</div>
										</div>
										<hr>

										<div class="form-actions">
											<button type="submit" class="btn btn-info no-border">
												<i class="icon-ok bigger-110"></i>
												保存设置
											</button>
										</div>
									</form>
									</p>
								</div>
								
								<!--安全配置-->
								<div id="anquanconf" class="tab-pane">
									<p>
									<form class="form-horizontal" action="{:U(GROUP_NAME.'/System/anquanConf')}" method="post">
										

										
										<div class="control-group">
											<label class="control-label" for="code_gq">同1个IP允许注册人数</label>

											<div class="controls">
												<input type="text" id="ipren" name="ipren" value="{$config.ipren}" class="span3"/><span class="help-inline">人</span>&nbsp;&nbsp<font color="red">可防止刷号</font> 
											</div>
										</div>
										<div class="control-group">
											<label class="control-label" for="memberlogin">是否允许电脑PC访问</label>

											<div class="controls">
												<input type="radio" value="on" <if condition="$config['PC_LOGIN'] == 'on'">checked="checked"</if> name="PC_LOGIN">
												<span class="lbl">允许</span>
												&nbsp;
												<input type="radio" value="off" <if condition="$config['PC_LOGIN'] == 'off'">checked="checked"</if> name="PC_LOGIN">
												<span class="lbl">禁止</span>&nbsp;&nbsp<font color="red">可防止注册机</font> 
											</div>
										</div>
										<hr>

										<div class="form-actions">
											<button type="submit" class="btn btn-info no-border">
												<i class="icon-ok bigger-110"></i>
												保存设置
											</button>
										</div>
									</form>
									</p>
								</div>

							</div>
						</div>
					</div><!--/span-->
				</div><!--/row-->
				<!--PAGE CONTENT ENDS HERE-->
			</div><!--/row-->
		</div><!--/#page-content-->
	</div><!--/#main-content-->
</div><!--/.fluid-container#main-container-->

<a href="#" id="btn-scroll-up" class="btn btn-small btn-inverse">
	<i class="icon-double-angle-up icon-only bigger-110"></i>
</a>

<!--basic scripts-->
<script src="__PUBLIC__/js/jquery-1.9.1.min.js"></script>

<script src="__PUBLIC__/js/bootstrap.min.js"></script>

<!--page specific plugin scripts-->
<script src="__PUBLIC__/js/bootbox.min.js"></script>
<script src="__PUBLIC__/js/jquery.dataTables.min.js"></script>
<script src="__PUBLIC__/js/jquery.dataTables.bootstrap.js"></script>.
<script src="__PUBLIC__/js/TableTools.min.js"></script>
<!--bbc scripts-->

<script src="__PUBLIC__/js/bbc-elements.min.js"></script>
<script src="__PUBLIC__/js/bbc.min.js"></script>

<script src="__PUBLIC__/js/bootstrap.notification.js"></script>
<script src="__PUBLIC__/js/jquery.easing.1.3.js"></script>
<!--inline scripts related to this page-->
</body>
</html>
